package GUI;

import java.awt.*;

import javax.swing.*;

public class ViewMsgGui extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JTextField mTimeTextField;
	private JTextField cNametextField;
	private JTextField eDateTextField;
	private JTextField numMeetingTextField;
	private JButton btnNext;
	private JButton btnBack;
	private JLabel iconlbl;
	
	
	public ViewMsgGui() {
		setBackground(new Color(255, 51, 0));
		setLayout(null);
		mTimeTextField = new JTextField();
		mTimeTextField.setEditable(false);
		mTimeTextField.setFont(new Font("Tahoma", Font.BOLD, 12));
		cNametextField = new JTextField();
		cNametextField.setFont(new Font("Tahoma", Font.BOLD, 12));
		eDateTextField = new JTextField();
		eDateTextField.setFont(new Font("Tahoma", Font.BOLD, 12));
		numMeetingTextField = new JTextField();
		numMeetingTextField.setFont(new Font("Tahoma", Font.BOLD, 12));
		btnNext = new JButton("Next");
		btnNext.setIcon(new ImageIcon(ViewMsgGui.class.getResource("/resources/continueArrow.png")));
		btnNext.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnBack = new JButton("Back");
		btnBack.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnBack.setIcon(new ImageIcon(ViewMsgGui.class.getResource("/resources/back22.png")));
		
		initialize();

	}
	
	private void initialize() {

		JLabel lblManagerMain = new JLabel("Messages");
		lblManagerMain.setForeground(new Color(0, 204, 255));
		lblManagerMain.setFont(new Font("Tahoma", Font.BOLD, 16));
		lblManagerMain.setBounds(10, 11, 126, 27);
		add(lblManagerMain);
		
		JLabel lblMeetingTime = new JLabel("Meeting Time");
		lblMeetingTime.setFont(new Font("Tahoma", Font.BOLD, 12));
		lblMeetingTime.setForeground(Color.WHITE);
		lblMeetingTime.setBounds(194, 107, 137, 27);
		add(lblMeetingTime);
		
		JLabel lblGroomBride = new JLabel("Groom & Bride");
		lblGroomBride.setFont(new Font("Tahoma", Font.BOLD, 12));
		lblGroomBride.setForeground(Color.WHITE);
		lblGroomBride.setBounds(194, 179, 119, 27);
		add(lblGroomBride);
		
		JLabel lblEventDate = new JLabel("Event Date");
		lblEventDate.setFont(new Font("Tahoma", Font.BOLD, 12));
		lblEventDate.setForeground(Color.WHITE);
		lblEventDate.setBounds(194, 247, 81, 27);
		add(lblEventDate);
		
		JLabel lblAmauntOfReturns = new JLabel("Amount Of Returns Meeting");
		lblAmauntOfReturns.setFont(new Font("Tahoma", Font.BOLD, 12));
		lblAmauntOfReturns.setForeground(Color.WHITE);
		lblAmauntOfReturns.setBounds(144, 320, 187, 27);
		add(lblAmauntOfReturns);
		
		mTimeTextField.setBounds(355, 107, 169, 27);
		add(mTimeTextField);
		mTimeTextField.setColumns(10);
		cNametextField.setEditable(false);
		cNametextField.setBounds(355, 179, 169, 27);
		add(cNametextField);
		cNametextField.setColumns(10);
		eDateTextField.setEditable(false);
		eDateTextField.setColumns(10);
		eDateTextField.setBounds(355, 247, 169, 27);
		add(eDateTextField);
		
		numMeetingTextField.setEditable(false);
		numMeetingTextField.setColumns(10);
		numMeetingTextField.setBounds(355, 321, 169, 27);
		add(numMeetingTextField);
		
		btnNext.setBounds(297, 410, 101, 27);
		add(btnNext);
		
		btnBack.setBounds(10, 462, 101, 27);
		add(btnBack);

		ImageIcon LOGOImageIcon = new ImageIcon(getClass().getClassLoader().getResource("resources/camera-background3.png"));
		ImageIcon LOGO = new ImageIcon (LOGOImageIcon.getImage().getScaledInstance(-1, -1, java.awt.Image.SCALE_SMOOTH));
		
		iconlbl = new JLabel("");
		iconlbl.setIcon(LOGO);
		iconlbl.setBounds(0, 0, 786, 500);
		add(iconlbl);
	}

	/**
	 * @return the mTimeTextField
	 */
	public JTextField getmTimeTextField() {
		return mTimeTextField;
	}

	/**
	 * @param mTimeTextField the mTimeTextField to set
	 */
	public void setmTimeTextField(JTextField mTimeTextField) {
		this.mTimeTextField = mTimeTextField;
	}

	/**
	 * @return the cNametextField
	 */
	public JTextField getcNametextField() {
		return cNametextField;
	}

	/**
	 * @param cNametextField the cNametextField to set
	 */
	public void setcNametextField(JTextField cNametextField) {
		this.cNametextField = cNametextField;
	}

	/**
	 * @return the eDateTextField
	 */
	public JTextField geteDateTextField() {
		return eDateTextField;
	}

	/**
	 * @param eDateTextField the eDateTextField to set
	 */
	public void seteDateTextField(JTextField eDateTextField) {
		this.eDateTextField = eDateTextField;
	}

	/**
	 * @return the numMeetingTextField
	 */
	public JTextField getNumMeetingTextField() {
		return numMeetingTextField;
	}

	/**
	 * @param numMeetingTextField the numMeetingTextField to set
	 */
	public void setNumMeetingTextField(JTextField numMeetingTextField) {
		this.numMeetingTextField = numMeetingTextField;
	}

	/**
	 * @return the btnNext
	 */
	public JButton getBtnNext() {
		return btnNext;
	}

	/**
	 * @return the btnBack
	 */
	public JButton getBtnBack() {
		return btnBack;
	}
}
